//
// Created by ashCheng on 2023/2/1.
// 1.5.1
#include <iostream>
#include <string>

struct Sales_data {
  std::string bookNo;
  unsigned units_sold = 0;
  double revenue = 0.0;
};

int main() {
  Sales_data data1;
  double price;
  std::cin >> data1.bookNo >> data1.units_sold >> price;
  data1.revenue = data1.units_sold * price;
  std::cout << data1.bookNo << " " << data1.units_sold << " " << data1.revenue
            << " " << price << std::endl;
  return 0;
}